﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibrary.Common
{
    public class ResTag
    {
        public ResTag(bool flag)
        {
            this.res = flag;
            this.msg = "";
        }

        public ResTag(bool flag, string msg)
        {
            this.res = flag;
            this.msg = msg;
        }

        public ResTag(bool flag, string msg, object data)
        {
            this.res = flag;
            this.msg = msg;
            this.data = data;
        }

        public bool res { set; get; }//正确还是错误
        public string msg { set; get; } //错误消息
        public object data { set; get; }//
    }
}
